<div class="wrap">
<h2 id="import-student">
<?php echo _e("Import Student's List");

?>
</h2>
<div id="ajax-response"></div>
<p>
<?php
echo _e("You can import the student's list here.");

?>
</p>

<?php
$form = new zeus_quickform(
    array("name" => "sv-form",
        "id" => "sv-form",
        "action" => "javascript:void(null);",
        "onsubmit" => "xajax_jsSubmitForm();",
        "method" => "post"));

echo $form->start();

?>
<table class="form-table">

<tr class="form-field">
		<th scope="row">
		<label for="myclass_id"><?php echo _e("The Class");

?></label>
		</th>
		<td>
<?php
$firstentry = _e('Please Select Class...');
$options = getCurrentClass();
// krsort($options);
$options[0] = $firstentry;
$myclass = array("property" => array("name" => "myclass_id"),
    "options" => $options,
    "current" => $_POST['myclass']);
echo $form->addSelect($myclass['property'], $myclass['options'], $myclass['current']);

?>
<?php
$elements = array(
    array("label" => array("for" => "csv_file", "name" => _e("CSV File (required)")),
        "form" => array("type" => "file", "options" => array("id" => "csv_file", "name" => "csv_file", "value" => $_POST['csv_file'])))
    );
foreach($elements AS $element) {
    if (isset($element) && is_array($element)) {
        echo showFormRow($form, $element);
    } else {
        zeus_do_nothing();
    }
}

?>
</td>
</tr>
</table>
<p class="submit">
<?php
echo $form->addElement("submit", array("name" => "import", "id" => "wp-submit", "value" => _e("Import")));

?>
</p>
<?php
echo $form->end();
$form = null;
unset($form);

?>

</div>